<div class="navigate" style="margin-bottom: 0px;">
	<div class="L"></div>
    <div class="C">
    	<a class="home" href="<?=$con_root_path?>" lang="<?=$array_lang[$lang_id][0]?>"><?=tdt('Trang_chu')?></a>
        <img src="<?=$theme_imagepath?>navigate_icon.gif" /><span><?=($current_cat['cat_name'])?$current_cat['cat_name']:tdt('Tin_tuc')?></span>
	</div>
    <div class="R"></div>
</div>
<div class="padding module_larger_border" style="height:100%">
<?
if ($total_record == 0)
{
?>
	<div class="data_is_updating" lang="<?=$array_lang[$lang_id][0];?>"><?=tdt('Tin_tuc_dang_duoc_cap_nhat');?>!</div>
<?
}
else
{
	$No = 0;
	while ($listing = mysql_fetch_array($db_listing->result))
	{
		$No++;
		$detail_url = generate_detail_url('news', $listing['cat_id'], $listing['new_id'], $listing['new_title']);
		if ($listing['new_picture'] != '')
		{
			$new_picture_url = '/news_pictures/small_' . $listing['new_picture'];
		}
		else
		{
			$new_picture_url = $theme_imagepath . 'no_photo.gif';
		}
?>
	<div class="news_pictures"><span><a title="<?=$listing['new_title']?>" href="<?=$detail_url?>" style="background-image:url(<?=$new_picture_url?>)"></a></span></div>
	<div class="news_title"><a href="<?=$detail_url?>"><?=$listing['new_title']?></a></div>
    <div class="news_teaser text_normal"><?=cut_string($listing['new_teaser'], 471)?></div>
    <? if ($No < $page_size) {?>
    <div class="break_module_line"></div>
    <? }?>
<?
	}
?>
	<div class="clear"></div>
	<? if ($total_record > $page_size){?>
	<div class="page_div">
    <?=generatePageBar($page_prefix, $current_page, $page_size, $total_record, $url, $normal_class, $selected_class, $previous, $next, $first, $last, $break_type)?>
    </div>
	<? }?>
<?
}
?>
</div>
<div class="module_bottom"><div class="fl"></div><div class="fr"></div></div>